
// Make a namespace.
if (typeof SmartPlaylists == 'undefined') {
  var SmartPlaylists = {};
}

/**
 * Controller for pane.xul
 */
SmartPlaylists.PaneController = {

  /**
   * Called when the pane is instantiated
   */
  onLoad: function() {
    this._initialized = true;
  }
  /**
   * Called when the pane is about to close
   */
  onUnLoad: function() {
    this._initialized = false;
  },
};

window.addEventListener("load", function(e) { SmartPlaylists.PaneController.onLoad(e); }, false);
window.addEventListener("unload", function(e) { SmartPlaylists.PaneController.onUnLoad(e); }, false);